<script setup>
import {ref} from "vue"

const props = defineProps({
    elem: {
        type: Object,
        default: () => {
            return {
                styleConfig: {},
                dataConfig: {}
            }
        }
    }
})
</script>

<template>
    <div :style="elem.styleConfig" class="Picture1">
        <img :alt="elem.name" :src="elem.dataConfig.value" style="width: 100%;height: 100%" />
    </div>
</template>

<style lang="scss" scoped>
.Picture1 {
    position: relative;
    img {
        border-radius: inherit;
    }
}
</style>